<?php
/**
 * Created by PhpStorm
 * User: Jhinwy
 * Date: 5/30/24
 * Time: 5:12 PM
 */

namespace app\common\model\risk_report;

use app\common\model\BaseModel;
use app\common\model\promotion\PromotionLink;


class RiskReport extends BaseModel
{

    protected $name = 'risk_report';


    /**
     * 推广链
     *
     * @return \think\model\relation\HasOne
     */
    public function link()
    {
        return $this->hasOne(PromotionLink::class, 'id', 'promotion_link_id');
    }
}
